<?php use_helper('I18N', 'Date') ?>
<?php include_partial('users/assets') ?>

<div id="sf_admin_container">
  <h1><?php echo __('Edit Users', array(), 'messages') ?></h1>

  <?php include_partial('users/flashes') ?>

  <div id="sf_admin_header">
    <?php include_partial('users/form_header', array('public_user' => $public_user, 'form' => $form, 'configuration' => $configuration)) ?>
  </div>

  <?php if(!$form->isNew()): ?>
	<a href="<?php echo url_for('@admin_page?module=users&action=remindPassword&userId=' . $form->getObject()->getId()) ?>">Send account renewal notification</a>
  <?php endif; ?>
  <div id="sf_admin_content">
    <?php include_partial('users/form', array('public_user' => $public_user, 'form' => $form, 'configuration' => $configuration, 'helper' => $helper)) ?>
  </div>

  <div id="sf_admin_footer">
    <?php include_partial('users/form_footer', array('public_user' => $public_user, 'form' => $form, 'configuration' => $configuration)) ?>
  </div>
</div>
